<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="plotId" name="plotId" th:value="${plotDO.plotId}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">地块编号：</label>
                            <div class="col-sm-8">
                                <input id="plotNumber" name="plotNumber" th:value="${plotDO.plotNumber}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">地块面积：</label>
                            <div class="col-sm-8">
                                <input id="plotArea" name="plotArea" th:value="${plotDO.plotArea}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">土壤分类：</label>
                            <div class="col-sm-8">
                                <input id="soilClassification" name="soilClassification"
                                       th:value="${plotDO.soilClassification}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">土壤营养成分：</label>
                            <div class="col-sm-8">
                                <input id="nutrient" name="nutrient" th:value="${plotDO.nutrient}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">种植日期：</label>
                            <div class="col-sm-8">
                                <input id="plantingTime" name="plantingTime"
                                       th:value="${#dates.format(plotDO.plantingTime,'yyyy-MM-dd HH:mm')}"
                                       class="form-control" type="datetime-local">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">数量：</label>
                            <div class="col-sm-8">
                                <input id="count" name="count" th:value="${plotDO.count}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">株行距：</label>
                            <div class="col-sm-8">
                                <input id="plantSpacing" name="plantSpacing" th:value="${plotDO.plantSpacing}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">移植前的树龄：</label>
                            <div class="col-sm-8">
                                <input id="beforeOld" name="beforeOld" th:value="${plotDO.beforeOld}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">树龄
                                ：</label>
                            <div class="col-sm-8">
                                <input id="old" name="old" th:value="${plotDO.old}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">亩产：</label>
                            <div class="col-sm-8">
                                <input id="preMu" name="preMu" th:value="${plotDO.preMu}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">产量：</label>
                            <div class="col-sm-8">
                                <input id="production" name="production" th:value="${plotDO.production}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">架形：</label>
                            <div class="col-sm-8">
                                <input id="frameShape" name="frameShape" th:value="${plotDO.frameShape}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">树体：</label>
                            <div class="col-sm-8">
                                <input id="tree" name="tree" th:value="${plotDO.tree}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">苗木序号：</label>
                            <div class="col-sm-8">
                                <input id="seedId" name="seedId" th:value="${plotDO.seedId}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="button" onclick="save(1)" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/blog/plot/edit.js">

</script>
</body>
</html>
